@WIN8_SCHEDULER_HEADER_HEIGHT: 80px;
@WIN8_SCHEDULER_NAVIGATOR_HEIGHT: @WIN8_SCHEDULER_HEADER_HEIGHT * 0.3;

@WIN8_NAVIGATOR_ICON_SIZE: 26px;
@WIN8_SCHEDULER_SWITCHER_LABEL_OFFSET: 80px;

.dx-scheduler-header,
.dx-scheduler-work-space {
    border: @SCHEDULER_ACCENT_BORDER;
}

.dx-scheduler-work-space {
    padding-top: @WIN8_SCHEDULER_HEADER_HEIGHT;
    margin-top: -@WIN8_SCHEDULER_HEADER_HEIGHT;
}

.dx-scheduler-header {
    height: @WIN8_SCHEDULER_HEADER_HEIGHT;
}

.dx-scheduler-view-switcher.dx-tabs {
    text-align: center;
}

.dx-scheduler-navigator,
.dx-scheduler-appointment-tooltip {
    .dx-button .dx-icon {
        width: @WIN8_NAVIGATOR_ICON_SIZE;
        height: @WIN8_NAVIGATOR_ICON_SIZE;
        font-size: @WIN8_NAVIGATOR_ICON_SIZE - 5px;
        line-height: @WIN8_NAVIGATOR_ICON_SIZE;
        padding: 0;
    }
}

.dx-scheduler-navigator {
    height: @WIN8_SCHEDULER_NAVIGATOR_HEIGHT;

    .dx-scheduler-navigator-previous,
    .dx-scheduler-navigator-next {
        padding: 2px 1px;
    }

    .dx-scheduler-navigator-caption {
        border-left: none;
        border-right: none;
    }
}

.dx-scheduler-navigator,
.dx-scheduler-view-switcher.dx-dropdownmenu {
    margin-top: (@WIN8_SCHEDULER_HEADER_HEIGHT - @WIN8_SCHEDULER_NAVIGATOR_HEIGHT) * 0.2;
}

.dx-scheduler-navigator-calendar {
    background-color: @WIN8_SCHEDULER_CALENDAR_COLOR;
}

.dx-scheduler-view-switcher-label {
    margin-top: (@WIN8_SCHEDULER_HEADER_HEIGHT - @WIN8_SCHEDULER_NAVIGATOR_HEIGHT) * 0.4;
    right: @WIN8_SCHEDULER_SWITCHER_LABEL_OFFSET;

    .dx-rtl & {
        left: @WIN8_SCHEDULER_SWITCHER_LABEL_OFFSET;
        right: auto;
    }
}

.dx-scheduler-appointment-tooltip {
    margin-right: 0;
    width: 200px;

    .dx-button {
        padding: 0;
        margin-right: 20px;
        max-width: 130px;

        .dx-rtl & {
            margin-right: 0;
            margin-left: 20px;
        }
    }
}

.dx-scheduler-all-day-title {
    top: @WIN8_SCHEDULER_HEADER_HEIGHT;
}

.dx-scheduler-work-space-day {
    &:not(.dx-scheduler-work-space-grouped) {
        .dx-scheduler-all-day-title {
            top: @WIN8_SCHEDULER_HEADER_HEIGHT + 1;
        }
    }
}

.dx-scheduler-all-day-title-mixin(@WIN8_SCHEDULER_HEADER_HEIGHT + @SCHEDULER_HEADER_PANEL_TOP_GAP);

.dx-scheduler-work-space-week,
.dx-scheduler-work-space-work-week {
    .dx-scheduler-all-day-title {
        top: @WIN8_SCHEDULER_HEADER_HEIGHT + 50px;
    }
    .dx-scheduler-all-day-title-mixin(@WIN8_SCHEDULER_HEADER_HEIGHT + 50px);
}

.dx-scheduler-work-space-both-scrollbar {
    .dx-scheduler-all-day-title {
        background-color: @WIN8_BASE_BACKGROUND;

        &:before {
            background-color: @WIN8_BASE_BACKGROUND;
        }
    }
}

.dx-recurrence-radiogroup-repeat-type-label,
.dx-recurrence-repeat-end-label {
    line-height: 40px;
}
